package cn.edu.lzzy.handlers;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.NOT_FOUND)
//不存在异常类
public class NotFoundException extends RuntimeException{
//    //    异常对应的返回码
//    private Integer code;
//
//    //    异常对应的描述信息
//    private String message;

    public NotFoundException(String message) {
        super(message);
    }
}
